| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRSetViewRate function to set the view rate of an object node.
OSErr QTVRSetViewRate (QTVRInstance qtvr, float rate);
The QTVRSetViewRate function sets the view rate of the object node specified by the qtvr parameter to the rate specified by the rate parameter. A node's view rate might be modified by the current animation settings.
If the value specified in the rate parameter lies outside the valid range, QTVRSetViewRate returns the result code constraintReachedErr and sets the view rate to the nearest constraint.
Use QTVRGetViewRate (link) to get the current view rate of an object node.
| Previous | Chapter contents | Chapter top | Section top | Next |